<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <script> 
    function get( bookId){  
    	alert("删除成功");
    	window.location.href="../bookshelf/delete.action?book_id="bookId;
   	 
     
</script> 
<!DOCTYPE html>
<!-- saved from url=(0068)http://202.116.174.108:8080/reader/book_shelf.php?classid=0000003512 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

  <title>图书借阅系统 </title>
<link type="text/css" rel="stylesheet" href="../resources/bookshelf/style.css">
<link type="text/css" rel="stylesheet" href="../resources/bookshelf/mylib.css">
<link type="text/css" rel="stylesheet" href="../resources/bookshelf/jquery-ui-1.8.13.custom.css">
<script type="text/javascript" src="../resources/bookshelf/jquery.1.7.1.min.js.下载"></script>
<script type="text/javascript" src="../resources/bookshelf/jquery-ui-1.8.13.custom.min.js.下载"></script>
<script type="text/javascript" src="../resources/bookshelf/highlighter.js.下载"></script>
</head>
<body>
<div id="header_opac">
	<h1 class="header_opac_img">
    <div class="header_opac_logo">
    	图书借阅系统<br>
        <p>Online Book Borrowing System</p>
        
    </div>
    </h1>
    <div class="header_right header_right_top">
      <p class="header_right_font">       </p>
      <p style="margin-top:60px;" class="header_right_font">
         <font color="blue">${user.name }</font> <strong><a href="../user/logout.action" style="color:#ff0000;">注销</a></strong></p>
       </div>
</div>
<div id="menubar">
    <ul id="menu_top">
    		  	<li><a href="../user/toquery2.action" target="_self">书目检索</a></li>
	  		  	<li><a class="menu_top_on" style="color:#6C5B23;" href="../books/mylibrary.action" target="_self">我的图书馆</a></li>
	  		  	         <div class="clear"></div>
    </ul>
</div>
<div id="submenu">
	        <div class="clear"></div>
</div>

		<div style="width:1360px;height:420px;margin:0 5px 0 0" id="mainbox">
   <div id="container">
  <div id="navsidebar">
     <ul id="nav_mylib">
     	<li><a href="../books/mylibrary.action">证件信息</a></li><li><a href="../borrow/borrowing.action?id=${user.id }">当前借阅</a></li><li><a href="../borrow/borrow_his_levelup.action?id=${user.id }">借阅历史</a></li><li><a href="../user/appointmentInfo.action?id=${user.id }">预约信息</a></li><li id="nav_mylibhome"><a href="#">我的书架</a></li>
     </ul>
      
  </div>
 
  <div id="mylib_content">
  	<h2>我的书架<span style="margin-left:10px; color:#333;"></span></h2>
    
    
		<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC" class="table_line">
		  <tbody><tr>
		  	<td class="greytext" width="3%"></td>
		  	<td class="greytext" width="25%">题名</td>
			<td class="greytext" width="20%">责任者</td>
			<td class="greytext" width="15%">出版社</td>
			<td class="greytext" width="10%">索书号</td>
			<td width="10%" align="center" class="greytext">操作</td>
			
		  </tr>
		  <c:forEach items="${bookshelf}" var="i"  varStatus="go">
		 
		  <tr bgcolor="#FFFFFF" id="del_0000193097" name="del_0000193097">
				<td bgcolor="#FFFFFF" class="whitetext">${go.count}</td>
				<td bgcolor="#FFFFFF" class="whitetext"><a class="blue" href="../books/bookitem.action?booksModel.callno=${i.callno}">${i.bookName}</a></td>
				<td bgcolor="#FFFFFF" class="whitetext">${i.author}</td>
				<td bgcolor="#FFFFFF" class="whitetext">${i.publish}</td>
				<td bgcolor="#FFFFFF" class="whitetext">${i.callno}</td>
				<td align="center" bgcolor="#FFFFFF" class="whitetext"><a class="btn btn-success" href="../bookshelf/delete.action?book_id=${i.bookId }" onclick="get('${i.bookId}')" disabled="">删除</a></td>
			</tr>
			
	                                	                            
		  </c:forEach>
								   
								   
								   
				
			</tbody></table>
  </div>
  
  <div class="clear"></div>
  
</div>

<script type="text/javascript">
<!--

	function delbook(classid,marcNo)
	{
		if(confirm("确认删除?"))
			$("#del_" + marcNo).load("book_shelf_ajax_delbook.php?classid=" + classid + "&marc_no=" + marcNo + "&time=" + new Date().getTime());
	}
-->
</script></div></body></html>